import React from "react";
import { Tabs } from "antd";
import ChatTest from "./components/ChatTest";
import CopywritingTest from "./components/CopywritingTest";
import type { TabsProps } from "antd";

const AITestPage: React.FC = () => {
  const items: TabsProps["items"] = [
    {
      key: "chat",
      label: "测试对话",
      children: <ChatTest />,
    },
    {
      key: "copywriting",
      label: "测试文案生成",
      children: <CopywritingTest />,
    },
  ];

  return (
    <div>
      <Tabs defaultActiveKey="chat" items={items} />
    </div>
  );
};

export default AITestPage;
